<!DOCTYPE html>
<html lang="en">
<head>
    <title>66Play-记录您的非凡时刻</title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="Resource-type" content="Document" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/download/mobile/css/index.css">
    <script type="text/javascript" src="__PUBLIC__/Home/download/web/js/jquery.min.js"></script>
    <script>
        {:C('GLOBAL_BDHM')}
    </script>
</head>
<body>
     <div class="text box js-data" data-browser="{$browser}">
          <div class="logo" style="background-image: url(__PUBLIC__/Home/images/con-logo.png)"></div>
          <div class="video-text"></div>
          <!-- <div class="amazing"><span>血战Ti5,尽在</span><span class="blue-color">66Play</span></div> -->
          <div class="download">
              <neq name="type" value="ios">
                <a href="{:U('android')}" class="btn-andriod" id="btn-andriod"><b class="andriod-color"><i class="icon icon-andriod"></i></b><span>Andriod</span></a>
              <else/>
                <a href="{:U('ios')}" class="btn-ios" id="btn-ios"><b class="ios-color"><i class="icon icon-ios" ></i></b><span>APP Store</span></a>
              </neq>
          </div>
     </div>
     <div class="phone box"></div>
     <div class="box footer" style="background:rgba(0,0,0,.5); height:28px;line-height:28px; color:#fff; padding-left:25px; position:fixed; bottom:0px; left:0px; width:100%; ">测试用户群： 480306289</div>
     <div class="wx-version"></div>
</body>
<script type="text/javascript">
     (function(){
        document.getElementById('btn-andriod').onclick = function(e){
        // 通过iframe的方式试图打开APP，如果能正常打开，会直接切换到APP，并自动阻止a标签的默认行为
        // 否则打开a标签的href链接
        var ifr = document.createElement('iframe');
        ifr.src = 'tv66://open/main';
        ifr.style.display = 'none';
        document.body.appendChild(ifr);
        window.setTimeout(function(){
          document.body.removeChild(ifr);
        },3000);
      }
    })();
    $(function(){
      var vBrowser=$(".js-data").data('browser');
       $(".download  a").on('click',function(){
         if(vBrowser=='weixin')
         {
           $(".box").hide();
           $(".wx-version").show();
           // location.href="{:U('ios')}";
           return false;
         }else
         {
           $(".box").show();
           $(".wx-version").hide();
         }
       });
    })
</script>
</html>